<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>l8w8jwt: include/l8w8jwt/version.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">l8w8jwt
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_4cc40c4817b6dd8b994fc53e2126ebc6.html">l8w8jwt</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">version.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>l8w8jwt version checking.  
<a href="#details">More...</a></p>
<div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="version_8h__dep__incl.png" border="0" usemap="#ainclude_2l8w8jwt_2version_8hdep" alt=""/></div>
<map name="ainclude_2l8w8jwt_2version_8hdep" id="ainclude_2l8w8jwt_2version_8hdep">
<area shape="rect" title="l8w8jwt version checking." alt="" coords="337,5,500,32"/>
<area shape="rect" href="base64_8h.html" title="Base&#45;64 encode and decode strings/bytes." alt="" coords="5,80,171,107"/>
<area shape="poly" title=" " alt="" coords="347,38,146,82,145,77,345,33"/>
<area shape="rect" href="claim_8h.html" title="JWT claims as described in https://auth0.com/docs/tokens/concepts/jwt&#45;claims." alt="" coords="246,80,400,107"/>
<area shape="poly" title=" " alt="" coords="392,44,341,82,338,77,389,39"/>
<area shape="rect" href="decode_8h.html" title="Core DECODE function for l8w8jwt. Use this to decode and validate a JWT!" alt="" coords="240,155,405,181"/>
<area shape="poly" title=" " alt="" coords="323,31,274,49,253,63,236,81,231,92,231,101,244,121,267,138,294,152,291,157,265,142,240,124,226,103,226,91,231,79,249,59,272,44,321,26"/>
<area shape="rect" href="encode_8h.html" title="Core ENCODE function for l8w8jwt. Use this to encode a JWT header + payload WITHOUT signing." alt="" coords="433,155,599,181"/>
<area shape="poly" title=" " alt="" coords="516,22,546,29,575,40,601,57,622,78,628,91,627,104,612,125,584,143,554,157,552,152,582,138,608,121,622,102,623,92,618,82,597,61,572,45,544,34,515,27"/>
<area shape="rect" href="timehelper_8h_source.html" title=" " alt="" coords="424,80,608,107"/>
<area shape="poly" title=" " alt="" coords="449,39,501,77,498,82,446,44"/>
<area shape="rect" href="util_8h.html" title="Useful utility functions." alt="" coords="683,80,824,107"/>
<area shape="poly" title=" " alt="" coords="493,33,695,77,694,82,492,38"/>
<area shape="poly" title=" " alt="" coords="325,122,325,154,320,154,320,122"/>
<area shape="poly" title=" " alt="" coords="371,110,483,152,481,157,369,115"/>
<area shape="poly" title=" " alt="" coords="469,115,358,157,356,152,467,110"/>
<area shape="poly" title=" " alt="" coords="519,122,519,154,513,154,513,122"/>
</map>
</div>
</div>
<p><a href="version_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a4626940acbd108f82b61f3b099b653bd" id="r_a4626940acbd108f82b61f3b099b653bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#a4626940acbd108f82b61f3b099b653bd">L8W8JWT_VERSION</a>&#160;&#160;&#160;250</td></tr>
<tr class="separator:a4626940acbd108f82b61f3b099b653bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a270a82a8994642435127efc0a59a9eb8" id="r_a270a82a8994642435127efc0a59a9eb8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#a270a82a8994642435127efc0a59a9eb8">L8W8JWT_VERSION_STR</a>&#160;&#160;&#160;&quot;2.5.0&quot;</td></tr>
<tr class="separator:a270a82a8994642435127efc0a59a9eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b2ba8c808b82933cda9083e528be81a" id="r_a5b2ba8c808b82933cda9083e528be81a"><td class="memItemLeft" align="right" valign="top"><a id="a5b2ba8c808b82933cda9083e528be81a" name="a5b2ba8c808b82933cda9083e528be81a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>L8W8JWT_API</b></td></tr>
<tr class="separator:a5b2ba8c808b82933cda9083e528be81a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16dcdf673ed70b70e59b5a7ec5dc149e" id="r_a16dcdf673ed70b70e59b5a7ec5dc149e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#a16dcdf673ed70b70e59b5a7ec5dc149e">L8W8JWT_SMALL_STACK</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a16dcdf673ed70b70e59b5a7ec5dc149e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58f787b52fc9c15f73dbdbdfc0765ebb" id="r_a58f787b52fc9c15f73dbdbdfc0765ebb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#a58f787b52fc9c15f73dbdbdfc0765ebb">L8W8JWT_PLATFORM_TIME_ALT</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a58f787b52fc9c15f73dbdbdfc0765ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a2ae563b3a6a9cd00b7f27851b0e6a10a" id="r_a2ae563b3a6a9cd00b7f27851b0e6a10a"><td class="memItemLeft" align="right" valign="top">L8W8JWT_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#a2ae563b3a6a9cd00b7f27851b0e6a10a">l8w8jwt_free</a> (void *mem)</td></tr>
<tr class="separator:a2ae563b3a6a9cd00b7f27851b0e6a10a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58316a5999ea32e1af5dd0d8ea43c698" id="r_a58316a5999ea32e1af5dd0d8ea43c698"><td class="memItemLeft" align="right" valign="top">L8W8JWT_API int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#a58316a5999ea32e1af5dd0d8ea43c698">l8w8jwt_get_version_number</a> (void)</td></tr>
<tr class="separator:a58316a5999ea32e1af5dd0d8ea43c698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9e8d88c939e9954f858dbfe017320c5" id="r_aa9e8d88c939e9954f858dbfe017320c5"><td class="memItemLeft" align="right" valign="top">L8W8JWT_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#aa9e8d88c939e9954f858dbfe017320c5">l8w8jwt_get_version_string</a> (char out[32])</td></tr>
<tr class="separator:aa9e8d88c939e9954f858dbfe017320c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>l8w8jwt version checking. </p>
<dl class="section author"><dt>Author</dt><dd>Raphael Beck </dd></dl>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a58f787b52fc9c15f73dbdbdfc0765ebb" name="a58f787b52fc9c15f73dbdbdfc0765ebb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58f787b52fc9c15f73dbdbdfc0765ebb">&#9670;&#160;</a></span>L8W8JWT_PLATFORM_TIME_ALT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_PLATFORM_TIME_ALT&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set this pre-processor definition to <code>1</code> if you need to provide custom implementation of system time API. </p>

</div>
</div>
<a id="a16dcdf673ed70b70e59b5a7ec5dc149e" name="a16dcdf673ed70b70e59b5a7ec5dc149e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16dcdf673ed70b70e59b5a7ec5dc149e">&#9670;&#160;</a></span>L8W8JWT_SMALL_STACK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_SMALL_STACK&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set this pre-processor definition to <code>1</code> if you're using this on a low-memory device with increased risk of stack overflow. </p>

</div>
</div>
<a id="a4626940acbd108f82b61f3b099b653bd" name="a4626940acbd108f82b61f3b099b653bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4626940acbd108f82b61f3b099b653bd">&#9670;&#160;</a></span>L8W8JWT_VERSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_VERSION&#160;&#160;&#160;250</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Current l8w8jwt version number. </p>

</div>
</div>
<a id="a270a82a8994642435127efc0a59a9eb8" name="a270a82a8994642435127efc0a59a9eb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a270a82a8994642435127efc0a59a9eb8">&#9670;&#160;</a></span>L8W8JWT_VERSION_STR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define L8W8JWT_VERSION_STR&#160;&#160;&#160;&quot;2.5.0&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Current l8w8jwt version number (as a human-readable string). </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a2ae563b3a6a9cd00b7f27851b0e6a10a" name="a2ae563b3a6a9cd00b7f27851b0e6a10a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ae563b3a6a9cd00b7f27851b0e6a10a">&#9670;&#160;</a></span>l8w8jwt_free()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">L8W8JWT_API void l8w8jwt_free </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>mem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Free memory that was allocated by L8W8JWT. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mem</td><td>The memory to free. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a58316a5999ea32e1af5dd0d8ea43c698" name="a58316a5999ea32e1af5dd0d8ea43c698"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58316a5999ea32e1af5dd0d8ea43c698">&#9670;&#160;</a></span>l8w8jwt_get_version_number()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">L8W8JWT_API int l8w8jwt_get_version_number </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the l8w8jwt version number as an integer. </p><dl class="section return"><dt>Returns</dt><dd>Version number (e.g. "2.1.4" =&gt; 214) </dd></dl>

</div>
</div>
<a id="aa9e8d88c939e9954f858dbfe017320c5" name="aa9e8d88c939e9954f858dbfe017320c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9e8d88c939e9954f858dbfe017320c5">&#9670;&#160;</a></span>l8w8jwt_get_version_string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">L8W8JWT_API void l8w8jwt_get_version_string </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>out</em>[32]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the l8w8jwt version number as a nicely formatted string. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">out</td><td>A writable <code>char</code> buffer of at least 32B where to write the version number string into. The string will be NUL-terminated, no worries! Passing <code>NULL</code> here is a very bad idea. Undefined, unpleasant, and just... just don't! </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
